// eslint-disable-next-line no-unused-vars
import { request, upload } from '../utils/request'
// import axios from 'axios'
// import { Message } from 'element-ui'

export function upphoto (data) {
  return request({
    url: '/file/upphoto',
    data: data,
    method: 'post'
  })
}
export function uploadSlice (data) {
  return upload('/file/uploadSlice', data)
}
export function merge (data) {
  return request({
    url: '/file/merge',
    method: 'post',
    data: data
  })
}
